﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000973 RID: 2419
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class InteractChargerCsReq : IMessage<InteractChargerCsReq>, IMessage, IEquatable<InteractChargerCsReq>, IDeepCloneable<InteractChargerCsReq>, IBufferMessage
	{
		// Token: 0x17001EA7 RID: 7847
		// (get) Token: 0x06006C95 RID: 27797 RVA: 0x001234E5 File Offset: 0x001216E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<InteractChargerCsReq> Parser
		{
			get
			{
				return InteractChargerCsReq._parser;
			}
		}

		// Token: 0x17001EA8 RID: 7848
		// (get) Token: 0x06006C96 RID: 27798 RVA: 0x001234EC File Offset: 0x001216EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return InteractChargerCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001EA9 RID: 7849
		// (get) Token: 0x06006C97 RID: 27799 RVA: 0x001234FE File Offset: 0x001216FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return InteractChargerCsReq.Descriptor;
			}
		}

		// Token: 0x06006C98 RID: 27800 RVA: 0x00123505 File Offset: 0x00121705
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InteractChargerCsReq()
		{
		}

		// Token: 0x06006C99 RID: 27801 RVA: 0x0012350D File Offset: 0x0012170D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InteractChargerCsReq(InteractChargerCsReq other) : this()
		{
			this.chargerInfo_ = ((other.chargerInfo_ != null) ? other.chargerInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006C9A RID: 27802 RVA: 0x00123542 File Offset: 0x00121742
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InteractChargerCsReq Clone()
		{
			return new InteractChargerCsReq(this);
		}

		// Token: 0x17001EAA RID: 7850
		// (get) Token: 0x06006C9B RID: 27803 RVA: 0x0012354A File Offset: 0x0012174A
		// (set) Token: 0x06006C9C RID: 27804 RVA: 0x00123552 File Offset: 0x00121752
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChargerInfo ChargerInfo
		{
			get
			{
				return this.chargerInfo_;
			}
			set
			{
				this.chargerInfo_ = value;
			}
		}

		// Token: 0x06006C9D RID: 27805 RVA: 0x0012355B File Offset: 0x0012175B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as InteractChargerCsReq);
		}

		// Token: 0x06006C9E RID: 27806 RVA: 0x00123569 File Offset: 0x00121769
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(InteractChargerCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.ChargerInfo, other.ChargerInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006C9F RID: 27807 RVA: 0x0012359C File Offset: 0x0012179C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.chargerInfo_ != null)
			{
				num ^= this.ChargerInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006CA0 RID: 27808 RVA: 0x001235D8 File Offset: 0x001217D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006CA1 RID: 27809 RVA: 0x001235E0 File Offset: 0x001217E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006CA2 RID: 27810 RVA: 0x001235E9 File Offset: 0x001217E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.chargerInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.ChargerInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006CA3 RID: 27811 RVA: 0x0012361C File Offset: 0x0012181C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.chargerInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ChargerInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006CA4 RID: 27812 RVA: 0x0012365C File Offset: 0x0012185C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(InteractChargerCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.chargerInfo_ != null)
			{
				if (this.chargerInfo_ == null)
				{
					this.ChargerInfo = new ChargerInfo();
				}
				this.ChargerInfo.MergeFrom(other.ChargerInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006CA5 RID: 27813 RVA: 0x001236B0 File Offset: 0x001218B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006CA6 RID: 27814 RVA: 0x001236BC File Offset: 0x001218BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.chargerInfo_ == null)
					{
						this.ChargerInfo = new ChargerInfo();
					}
					input.ReadMessage(this.ChargerInfo);
				}
			}
		}

		// Token: 0x0400296B RID: 10603
		private static readonly MessageParser<InteractChargerCsReq> _parser = new MessageParser<InteractChargerCsReq>(() => new InteractChargerCsReq());

		// Token: 0x0400296C RID: 10604
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400296D RID: 10605
		public const int ChargerInfoFieldNumber = 1;

		// Token: 0x0400296E RID: 10606
		private ChargerInfo chargerInfo_;
	}
}
